

import React from 'react'
import {View,Text,ScrollView} from 'react-native'

export default class Page1 extends React.Component{
    render(){
        return(
            <ScrollView>
                <Text style={{height:50, color:'#ff6a7f',fontSize:16}} onPress={()=>{
                    alert(JSON.stringify(this.props.navigation))
                    // this.props.navigation.navigate('page2')
                }}>点击事件</Text>
            </ScrollView>
        )
    }
}